#pragma once

#include "cmd.h"


//drop database <dbname>
//drop table <table-name>
class Drop{
private:
    std::vector<std::string> cmd;
public:
    Drop(std::vector<std::string> a) : cmd(a){}
    void execute(){
        if(cmd[1] == "database"){
            std::cout << "删除数据库" <<std::endl;
        }
        else if(cmd[1] == "table"){
            std::cout << "删除表" <<std::endl;
        }
        else{
            std::cout << "No such command" <<std::endl;
        }
    }
};